package com.erbao.runtimedataarea;

/**
 * @author CaoBaoYin
 * @since 2022/3/28 19:41
 */
public class TestPlusP4 {

    public static void main(String[] args) {
        TestPlusP4 p3 = new TestPlusP4();
        int c = p3.m (3);
        System.out.println(c);
    }

    private int m(int n) {
        if (n == 1) return 1;
        return n * m (n-1);
    }
}
